package com.yl.zqy.service.login;

import com.yl.zqy.common.Result;
import com.yl.zqy.dto.SysMenuDTO;
import com.yl.zqy.vo.login.LoginVo;
import com.yl.zqy.vo.login.UserPwdVo;
import com.yl.zqy.vo.user.UserInfoVo;

import java.util.List;

/**
 * @Description 登录服务接口
 * @Author liang.yu
 * @Date 2024/3/24 12:50
 */
public interface LoginService {

    Result<UserInfoVo> login(LoginVo vo);

    void logout();

    Result<UserInfoVo> getSubject();

    Result<List<String>> getPermission();

    Result<List<SysMenuDTO>> getMenus();

    Result<Boolean> updatePwd(UserPwdVo vo);
}
